import React from 'react';

export default class Cat extends React.Component {
  render() {
    const { mouse } = this.props;
    return (
      <div
        style={{
          position: 'absolute',
          width: '100px',
          height: '100px',
          backgroundColor: 'red',
          left: mouse.x - 50,
          top: mouse.y - 50,
        }}
      />
    );
  }
}
